package com.way.flow.activity

import java.io.File

/**
 *  create by wang wei 2024/11/26
 *  email: Way_540927094@163.com
 *  describe:
 */
sealed class DownloadInfo {

    data class ProgressInfo(val progress: Int): DownloadInfo()
    data class Error(val error: Throwable): DownloadInfo()
    data class Done(val file: File): DownloadInfo()

}